{{- $page := . }}
{{- with index site.Menus.social }}
<div class="social-links mt-3">
    {{- partial "partials/inline/menu/social/walk.html" (dict "page" $page "menuEntries" .) }}
</div>
{{- end }}

{{- define "partials/inline/menu/social/walk.html" }}
{{- $page := .page }}
{{- range $index, $item := .menuEntries }}
<a href="{{$item.URL}}" class="{{$item.Params.ClassLink}}"><i class="{{$item.Params.ClassIcon}}"></i></a>
{{- end }}
{{- end }}
